package trogiup;

import java.awt.Desktop;
import java.io.File;
import java.io.IOException;

import javax.swing.JDialog;
import javax.swing.JPanel;

public class FileServer extends JDialog {
	public FileServer(){
		try {
		      Desktop desktop = null;
		      if (Desktop.isDesktopSupported()) {
		        desktop = Desktop.getDesktop();
		      }

		       desktop.open(new File("T:/English/NguphaptiengAnh_hoctienganh.info.pdf"));
		    } catch (IOException ioe) {
		      ioe.printStackTrace();
		    }
	}
  public static void main(String[] a) {
    new FileServer();
  }
}